﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ds.DataBase.Enum;

namespace Ds.DataBase.Model.PersonalAssess
{
    /// <summary>
    /// 状态记录
    /// </summary>
    public class PersonalMainStateLog
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int id { set; get; }
        /// <summary>
        /// 创建人ID
        /// </summary>
        public Guid cjrid { set; get; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime cjsj { set; get; }
        /// <summary>
        /// 信息
        /// </summary>
        public string msg { set; get; }
        /// <summary>
        /// 是否被阅读过
        /// </summary>
        public bool isread { set; get; }
        /// <summary>
        /// 此记录所代表的考核表当时的状态
        /// </summary>
        public 考核表状态 PersonalState { set; get; }
        public virtual  PersonalMain PersonalMain { set; get; }
    }
}
